All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.music.NoteRequestInfo

java.lang.Object
   |
   +----quicktime.util.QTByteObject
           |
           +----quicktime.std.music.NoteRequestInfo

public class NoteRequestInfo
extends QTByteObject
implements PrimitivesLib, Cloneable
Provides the basic information that is used to create a NoteChannel. Typically an application uses the complete NoteRequest (subclass) when using QT Music services.


Variable Index

 o kNativeSize
This is the size (the number of bytes) that are required for this class

Constructor Index

 o NoteRequestInfo()
Creates a NoteRequestInfo instance with the default values.
 o NoteRequestInfo(int)
Create a NoteRequestInfo from the given polyphony value.

Method Index

 o clone()
Makes a copy of a NoteRequestInfo object.
 o getFlags()
Gets the flags of the NoteRequestInfo
 o getPolyphony()
Gets the polyphony of the NoteRequestInfo
 o getTypicalPolyphony()
Gets the typicalPolyphony of the NoteRequestInfo
 o setFlags(int)
Sets the flags of the NoteRequestInfo
 o setPolyphony(int)
Sets the polyphony of the NoteRequestInfo
 o setTypicalPolyphony(float)
Sets the typicalPolyphony of the NoteRequestInfo
 o toString()
Returns a string representation of this object

Variables

 o kNativeSize
 public static final int kNativeSize
This is the size (the number of bytes) that are required for this class

Constructors

 o NoteRequestInfo
 public NoteRequestInfo()
Creates a NoteRequestInfo instance with the default values. Polyphony is set to 1.

 o NoteRequestInfo
 public NoteRequestInfo(int poly) throws QTException
Create a NoteRequestInfo from the given polyphony value.

Parameters:
poly - the most number of simulateous notes maybe played at the same time. This value is a suggestion to the music toolbox that is used to estimate the resources a NoteChannel will be required to utilise.

Methods

 o getFlags
 public final int getFlags()
Gets the flags of the NoteRequestInfo

Returns:
flags
 o setFlags
 public final void setFlags(int flags)
Sets the flags of the NoteRequestInfo

Parameters:
flags - flags to set
 o getPolyphony
 public final int getPolyphony()
Gets the polyphony of the NoteRequestInfo

Returns:
polyphony
 o setPolyphony
 public final void setPolyphony(int poly)
Sets the polyphony of the NoteRequestInfo

Parameters:
poly - polyphony to set
 o getTypicalPolyphony
 public final float getTypicalPolyphony()
Gets the typicalPolyphony of the NoteRequestInfo

Returns:
typicalPolyphony
 o setTypicalPolyphony
 public final void setTypicalPolyphony(float poly)
Sets the typicalPolyphony of the NoteRequestInfo

Parameters:
poly - typicalPolyphony to set
 o toString
 public String toString()
Returns a string representation of this object

Overrides:
toString in class QTByteObject
 o clone
 public Object clone()
Makes a copy of a NoteRequestInfo object.

Returns:
a NoteRequestInfo
Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index